//7*：输出比10000大的10个质数
package ZUOYE0421;

public class 更改作业7 {

	public static void main(String[] args) {
		boolean c = true;
		for (int a = 10000, d = 0; d < 10; a++) {
			for (int b = 2; b * b <= a; b++) {
				if (a % b == 0) {
					c = false;
				}
			}
			if (c != false) {
				System.out.print(a + "\t");
				d++;
			}
			c = true;

		}
	}
}
